package com.goodfather.textbook.youdao.pad.bean;

/**
 * 教材详情宽高比率Tag
 */

public class BookRatioTag {
    private float wRatio, hRatio;
    private int pageNo;

    private int startIndex;//当前课程第一页在所有页数的index
    private int endIndex;//当前课程最后一页在所有页数的index

    public void setStartIndex(int startIndex) {
        this.startIndex = startIndex;
    }

    public void setEndIndex(int endIndex) {
        this.endIndex = endIndex;
    }

    public int getStartIndex() {
        return startIndex;
    }

    public int getEndIndex() {
        return endIndex;
    }


    public BookRatioTag() {
    }

    public BookRatioTag(float wRatio, float hRatio, int pageNo) {
        this.wRatio = wRatio;
        this.hRatio = hRatio;
        this.pageNo = pageNo;
    }

    public float gethRatio() {
        return hRatio;
    }

    public void sethRatio(float hRatio) {
        this.hRatio = hRatio;
    }

    public int getPageNo() {
        return pageNo;
    }

    public void setPageNo(int pageNo) {
        this.pageNo = pageNo;
    }

    public float getwRatio() {
        return wRatio;
    }

    public void setwRatio(float wRatio) {
        this.wRatio = wRatio;
    }

}
